package com.shire.shire_interface.service.marketing;

import com.shire.shire_interface.dao.marketing.WxGroupTaskItemDao;
import com.shire.shire_interface.model.marketing.WxGroupTaskItem;
import com.shire.shire_interface.model.marketing.WxGroupTaskItemExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 作者:  sll
 * 时间:  2019/8/28 20:05
 */
@Service
public class WxGroupTaskItemService {

    @Resource
    private WxGroupTaskItemDao wxGroupTaskItemDao;

    public int insertSelective(WxGroupTaskItem wxGroupTaskItem) {

        return wxGroupTaskItemDao.insertSelective(wxGroupTaskItem);
    }

    public List<WxGroupTaskItem> selectByExample(WxGroupTaskItemExample example) {
        return wxGroupTaskItemDao.selectByExample(example);
    }

    public int updateByExample(WxGroupTaskItem record, WxGroupTaskItemExample example){
        return wxGroupTaskItemDao.updateByExampleSelective(record, example);
    }

    public int updateByPrimaryKey(WxGroupTaskItem taskItem){
        return wxGroupTaskItemDao.updateByPrimaryKey(taskItem);
    }

}
